<?php
$userId = Yii::app()->request->getParam('id', 0);
if(1 <= $userId)
{
    Yii::app()->session['fb_user_id'] = $userId;
    $this->redirect((array) CONST_LOGIN_SUCCESS);
}
?>

<div align="center">
    <p style="margin-right: 100px">
        User ID: 
        <input id ="txt_user_id" type="text" style="width: 50px" />
        <input type="button" value="Login" onclick="login()" />
    </p>
</div>

<script type="text/javascript">
function login()
{
    window.location = '<?php echo Yii::app()->getBaseUrl(true) ?>' + '/?id=' + $('#txt_user_id').val();
}
</script>